<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Phar 上下文（context）选项列表</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="context.curl.html">« CURL 上下文选项</a></li>
      <li style="float: right;"><a href="context.params.html">Context 参数 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="context.html">上下文（Context）选项和参数</a></li>
    <li>Phar 上下文（context）选项列表</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="context.phar" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Phar 上下文（context）选项</h1>
  <p class="refpurpose"><span class="refname">Phar 上下文（context）选项</span> &mdash; <span class="dc-title">Phar 上下文（context）选项列表</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-context.phar-description">
  <h3 class="title">说明</h3>
  <p class="para">
   <code class="literal">phar://</code> 封装（wrapper）的上下文（context）选项。
  </p>
 </div>


 <div class="refsect1 options" id="refsect1-context.phar-options">
  <h3 class="title">可选项</h3>
  <p class="para">
   <dl>
    
     <dt id="context.phar.compress">
      <code class="parameter">compress</code>
      <span class="type">int</span>
     </dt>

     <dd>

      <p class="para">
       <a href="phar.constants.html#phar.constants.compression" class="link">Phar 压缩常量</a>中的一个。
      </p>
     </dd>

    
    
     <dt id="context.phar.metadata">
      <code class="parameter">metadata</code>
      <span class="type"><a href="language.types.declarations.html#language.types.declarations.mixed" class="type mixed">mixed</a></span>
     </dt>

     <dd>

      <p class="para">
       Phar 元数据（metadata）。查看 <span class="function"><a href="phar.setmetadata.html" class="function">Phar::setMetadata()</a></span>。
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-context.phar-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><a href="wrappers.phar.html" class="xref">phar://</a></li>
    <li class="member"><a href="phar.using.stream.html" class="link">Phar stream wrapper</a></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>